package com.flexpasta.italianstore.remote.result
{
	import com.flexpasta.italianstore.vo.PastaType;
	import com.flexpasta.penneframework.remote.result.IPenneResult;
	
	import mx.collections.ArrayCollection;

	[Bindable]
	/** 
	 * @See interface documentation
	 * @author Brian Telintelo 
	 */
	public class PastaRemoteRs implements IPastaRemoteRs, IPenneResult
	{
	
		public static function getInstance():PastaRemoteRs
		{
			if(pastaRemoteResult==null)
			{
				pastaRemoteResult = new PastaRemoteRs();
			}
			return pastaRemoteResult;
		}
		private static var pastaRemoteResult:PastaRemoteRs;
		
		
		public var pastaTypes:ArrayCollection = new ArrayCollection();
		
		public function getPastaTypes(ac:ArrayCollection):void
		{
			PastaRemoteRs.getInstance().pastaTypes = ac;
		}
		
		public function updatePastaType(pastaType:PastaType):void
		{
			
		}
		 
	}
}